<?php
/* @var $this UserController */
/* @var $model Userinfo */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'userinfo-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'UserName'); ?>
		<?php echo $form->textField($model,'UserName',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'UserName'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserPass'); ?>
		<?php echo $form->textField($model,'UserPass',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'UserPass'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserLevel'); ?>
		<?php echo $form->textField($model,'UserLevel'); ?>
		<?php echo $form->error($model,'UserLevel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserCash'); ?>
		<?php echo $form->textField($model,'UserCash'); ?>
		<?php echo $form->error($model,'UserCash'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserPhoto'); ?>
		<?php echo $form->textField($model,'UserPhoto',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'UserPhoto'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserState'); ?>
		<?php echo $form->textField($model,'UserState'); ?>
		<?php echo $form->error($model,'UserState'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserLoginPosX'); ?>
		<?php echo $form->textField($model,'UserLoginPosX'); ?>
		<?php echo $form->error($model,'UserLoginPosX'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserLoginPosY'); ?>
		<?php echo $form->textField($model,'UserLoginPosY'); ?>
		<?php echo $form->error($model,'UserLoginPosY'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserEmail'); ?>
		<?php echo $form->textField($model,'UserEmail',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'UserEmail'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserTel'); ?>
		<?php echo $form->textField($model,'UserTel',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'UserTel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserAge'); ?>
		<?php echo $form->textField($model,'UserAge'); ?>
		<?php echo $form->error($model,'UserAge'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserBirth'); ?>
		<?php echo $form->textField($model,'UserBirth',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'UserBirth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserSign'); ?>
		<?php echo $form->textField($model,'UserSign',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'UserSign'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserSex'); ?>
		<?php echo $form->textField($model,'UserSex'); ?>
		<?php echo $form->error($model,'UserSex'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserNickName'); ?>
		<?php echo $form->textField($model,'UserNickName',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'UserNickName'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Created'); ?>
		<?php echo $form->textField($model,'Created'); ?>
		<?php echo $form->error($model,'Created'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserLastLoginIp'); ?>
		<?php echo $form->textField($model,'UserLastLoginIp',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'UserLastLoginIp'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserLastLoginTime'); ?>
		<?php echo $form->textField($model,'UserLastLoginTime'); ?>
		<?php echo $form->error($model,'UserLastLoginTime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserIsOnline'); ?>
		<?php echo $form->textField($model,'UserIsOnline'); ?>
		<?php echo $form->error($model,'UserIsOnline'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'checkFlag'); ?>
		<?php echo $form->textField($model,'checkFlag'); ?>
		<?php echo $form->error($model,'checkFlag'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'searchFlag'); ?>
		<?php echo $form->textField($model,'searchFlag'); ?>
		<?php echo $form->error($model,'searchFlag'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserProvince'); ?>
		<?php echo $form->textField($model,'UserProvince',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'UserProvince'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'UserArea'); ?>
		<?php echo $form->textField($model,'UserArea',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'UserArea'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->